<div class="login-warp">
  <div class="login-form">
    <el-form ref="form" :model="loginForm"  :rules="loginFormRule">
      <el-form-item  prop="username">
        <el-input type="text" v-model="loginForm.username" placeholder='账号' ></el-input>
      </el-form-item>
      <el-form-item  prop="password">
        <el-input type="password" v-model="loginForm.password"  placeholder='密码'></el-input>
      </el-form-item>

      <el-form-item>
        <el-button class="login-submit" type="primary" @click="handleLogin">登录</el-button>

      </el-form-item>
    </el-form>
    <!-- <form @submit.prevent="handleLogin">
        <div>
          <label fo r="username">用户名</label>
          <input type="text" id="username" v-model="loginForm.username">
        </div>
         <div>
          <label for="password">密码</label>
          <input type="password" id="password" v-model="loginForm.password">
        </div>
        <div>
          <button>登录</button>
        </div>
    </form> -->
  </div>
</div>
